package com.baidu.face;

import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;

@EnableConfigurationProperties({
        BaiduFaceProperties.class
})
public class BaiduFaceAutoConfiguration {

    @Bean
    public BaiduFaceTemplate baiduFaceTemplate(BaiduFaceProperties baiduFaceProperties){
        return new BaiduFaceTemplate(baiduFaceProperties);
    }


}
